package com.ruoyi.project.hissystem.service.impl;

import com.ruoyi.project.hissystem.domain.RegistraFee;
import com.ruoyi.project.hissystem.mapper.HisRegistraFeeMapper;
import com.ruoyi.project.hissystem.service.IHisRegistraFeeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author : 高向前
 * @date : 15:17 2021/8/18
 */
@Service
public class HisRegistraFeeServiceImpl implements IHisRegistraFeeService {
    @Autowired
    private HisRegistraFeeMapper hisRegistraFeeMapper;

    @Override
    public List<RegistraFee> listRegistraFee(RegistraFee registraFee) {
        return hisRegistraFeeMapper.listRegistraFee(registraFee);
    }

    @Override
    public int addRegistraFee(RegistraFee registraFee) {
        return hisRegistraFeeMapper.addRegistraFee(registraFee);
    }

    @Override
    public int updateRegistraFee(RegistraFee registraFee) {
        return hisRegistraFeeMapper.updateRegistraFee(registraFee);
    }

    @Override
    public int deleteRegistraFees(int[] registraFeeIds) {
        return hisRegistraFeeMapper.deleteRegistraFees(registraFeeIds);
    }

    @Override
    public RegistraFee selectRegistraFeeById(int registraFeeId) {
        return hisRegistraFeeMapper.selectRegistraFeeById(registraFeeId);
    }
}
